/*
 * @Author: your name
 * @Date: 2021-11-25 16:51:51
 * @LastEditTime: 2021-11-26 19:06:57
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \li-yuwei\client\src\api\tag.js
 */
import request from "../utils/request";
//获取标签-->带数量
function getClientTag() {
    return request({
        url: "/api/client/tag",
        method: "get",
    });
}
//获取标签文章
function getTagArticle(text) {
    return request({
        url: `/api/client/tag/${text}`,
        method: "get",
    });
}
export default {
    getClientTag,
    getTagArticle,
};